package com.amap.exception;

/**
 * @author liuyi
 * @since 2025/10/31 11:10
 */
public class AmapSignException extends RuntimeException {
    private final String errorCode;

    public AmapSignException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public AmapSignException(String errorCode, String message, Throwable cause) {
        super(message, cause);
        this.errorCode = errorCode;
    }

    public String getErrorCode() {
        return this.errorCode;
    }
}
